package gui.小练习.打字游戏;

import javax.swing.*;
import java.net.URL;

/**
 * @Package gui.小练习.打字游戏
 * @Author shimmer
 * @Date 2020/8/5 14:04
 * @TODO
 */
public class GameData {
    //获取静态资源
    private static URL playerUrl=GameData.class.getClassLoader().getResource("img2/player.png");
    private static URL enemyShipUrl=GameData.class.getClassLoader().getResource("img2/enemyShip.png");
    private static URL playerDamagedUrl=GameData.class.getClassLoader().getResource("img2/playerDamaged.png");
    
    public static ImageIcon player=new ImageIcon(playerUrl);
    public static ImageIcon enemyShip=new ImageIcon(enemyShipUrl);
    public static ImageIcon playerDamaged=new ImageIcon(playerDamagedUrl);
    
}
